package com.team1.supervend.domain;

public class SelectedItem {
	public int quantity;
	public ProductDescription description;
	
	public SelectedItem( ProductDescription desc, int quantity )
	{
		this.description = desc;
		this.quantity = quantity;
	}
	
	public Money getSubtotal()
	{
		return description.getCost().times( quantity );
	}

}
